import json

if __name__ == "__main__":
    data = {
        "no": 1,
        "name": 'W3cschool',
        "url": "http://www.w3cschool.cn"
    }

    json_str = json.dumps(data)
    print("Json对象: ", json_str)

    data2 = json.loads(json_str)
    print(data2)
    print(type(data2))
    print(data2["name"])
